package com.garry;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by EchoGe on 2016/11/13.
 */
@Service("userService")
public class UserService implements IUserService{

    @Autowired
    private UserMapper userMapper;

    @Override
    public User get(int id) {
        return userMapper.getUser(id);
    }
}
